package main

import (
	"fmt"
	"github.com/syyongx/php2go"
)

type testStruct struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

func main() {
	var (
		s    = &[]interface{}{1, 2, 3, 4}
		elem = 5
	)
	n := php2go.ArrayUnshift(s, elem)
	fmt.Println(n)
	fmt.Println(s)

}
